package com.zhan.easyexcelorder.repository;

import cn.com.chinatelecom.callcenter.user.manage.entity.SysUser;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author zhan
 * @since 2019-12-10 14:16
 */
public interface TestRepository extends PagingAndSortingRepository<SysUser, Long>, JpaSpecificationExecutor<SysUser> {

//    @Query("select new cn.com.chinatelecom.callcenter.user.manage.entity.SysUser(u.username,u.phone) from SysUser u where u.id = ?1")
//    SysUser testQuery(Long id);
}
